NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Technical Q&A QD3D86
Errors in QADrawContextNew


Q: My code looks just like the sample code, but QADrawContextNew returns an error. What am I doing wrong?

A: You need to make sure that "enums always int" is turned on in your compiler settings. One good way to esure this is the following:



#ifdef __MWERKS__
    #if !__option (enumsalwaysint)
 
        #error "Enums always int must be turned on for RAVE"  
     #endif
 
#endif

[Apr 20 1998]


Developer Documentation | Technical Notes | Development Kits | Sample Code